<!-- 出错页面 -->
{% extends '../layout.html' %}

{% block title %} test {% endblock %}

{% block content %}

  <div class="container-fluid">
    <!-- 手机页面主布局, 并且只居中显示一块 -->
    <div class="col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3 col-lg-4 col-lg-offset-4">

      <div class="weui_msg">
        <div class="weui_icon_area"><i class="weui_icon_warn weui_icon_msg"></i></div>
        <div class="weui_text_area">
            <h2 class="weui_msg_title">系统错误</h2>
        </div>
        <div class="weui_opr_area">
            <p class="weui_btn_area">
                <button id="err-confirm" class="weui_btn weui_btn_warn">确定</button>
            </p>
        </div>
      </div>
    </div>
  </div>

{% endblock %}

{% block footerscript %}
  <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
  <script>
    $('#err-confirm').on('click', function() {
      wx.closeWindow();
    });
  </script>
{% endblock %}

